package lee.lxwei.boot.domain;

import org.springframework.context.ApplicationEvent;

/**
 * 自定义用户注册事件
 */
public class UserRegistEvent extends ApplicationEvent {

    public UserRegistEvent(Object source) {
        super(source);
    }

    public UserRegistEvent(Object source, String name) {
        super(source);
        this.registName = name;
    }

    private String registName;

    public String getRegistName() {
        return registName;
    }

    public void setRegistName(String registName) {
        this.registName = registName;
    }

}
